<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<script type="text/javascript">
	var leftPos = (typeof window.screenLeft == "number") ? 
					  window.screenLeft : window.screenX;
	var topPos = (typeof window.screenTop == "number") ? 
					  window.screenTop : window.screenY;

	alert("Left: " + leftPos);
	alert("Top: " + topPos);
</script>
</head>

<body>
</body>
</html>
